package com.pengtu.entity.asset.car;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.pengtu.entity.IdEntity;
@Entity(name="com.pengtu.entity.asset.car.Information")
@Table(name = "T_ASST_CAR_INFORMATION")
public class Information extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String licenseplateNumber; // 车牌号
	private String brand; // 品牌
	private String model; // 型号
	private Date productionDate; // 生产日期
	private String carType; // 车辆类型
	private Date buyDate; // 购买日期
	private String carColor; // 颜色
	private Double buyPrice; // 购买价格
	private String productIoner; // 生产厂家
	private String supplier; // 供应商
	private String contactPersion; // 联系人
	private String contactPhone; // 联系电话
	private String address; // 地址
	private String driver; // 驾驶员
	private String driverCalls; // 驾驶员电话
	private String remark; // 备注
	private String engineNo; //发动机号
	private String frameNo;  //上架号
	private String officer;  //责任人
	private Date regDate;    //上牌日期
	private String asstState; //资产状态
	private String sindex; //编号
	private String code; //车辆编号
	
	public Information() {
	
	}
	
	@Column(name = "LICENSEPLATENUMBER",unique=true)
	public String getLicenseplateNumber() {
		return licenseplateNumber;
	}

	public void setLicenseplateNumber(String licenseplateNumber) {
		this.licenseplateNumber = licenseplateNumber;
	}

	@Column(name = "BRAND")
	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	@Column(name = "MODEL")
	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Column(name = "PRODUCTIONDATE")
	@Temporal(TemporalType.DATE)
	public Date getProductionDate() {
		return productionDate;
	}

	public void setProductionDate(Date productionDate) {
		this.productionDate = productionDate;
	}

	@Column(name = "CARTYPE")
	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}
	
	
	@Temporal(TemporalType.DATE)
	@Column(name = "BUYDATE")
	public Date getBuyDate() {
		return buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	@Column(name = "CARCOLOR")
	public String getCarColor() {
		return carColor;
	}

	public void setCarColor(String carColor) {
		this.carColor = carColor;
	}

	@Column(name = "BUYPRICE")
	public Double getBuyPrice() {
		return buyPrice;
	}

	public void setBuyPrice(Double buyPrice) {
		this.buyPrice = buyPrice;
	}

	@Column(name = "PRODUCTIONER")
	public String getProductIoner() {
		return productIoner;
	}

	public void setProductIoner(String productIoner) {
		this.productIoner = productIoner;
	}

	@Column(name = "SUPPLIER")
	public String getSupplier() {
		return supplier;
	}

	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	@Column(name = "CONTACTPERSION")
	public String getContactPersion() {
		return contactPersion;
	}

	public void setContactPersion(String contactPersion) {
		this.contactPersion = contactPersion;
	}

	@Column(name = "CONTACTPHONE")
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	@Column(name = "ADDRESS")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "DRIVER")
	public String getDriver() {
		return driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	@Column(name = "DRIVERCALLS")
	public String getDriverCalls() {
		return driverCalls;
	}

	public void setDriverCalls(String driverCalls) {
		this.driverCalls = driverCalls;
	}

	@Column(name="REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name="ENGINENO")
	public String getEngineNo() {
		return engineNo;
	}

	public void setEngineNo(String engineNo) {
		this.engineNo = engineNo;
	}
	
	@Column(name="FRAMENO")
	public String getFrameNo() {
		return frameNo;
	}

	public void setFrameNo(String frameNo) {
		this.frameNo = frameNo;
	}
	
	@Column(name ="OFFICER")
	public String getOfficer() {
		return officer;
	}

	public void setOfficer(String officer) {
		this.officer = officer;
	}

	@Column(name="REGDATE")
	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	
	@Column(name="ASSTSTATE")
	public String getAsstState() {
		return asstState;
	}

	public void setAsstState(String asstState) {
		this.asstState = asstState;
	}

	@Column(name="SINDEX")
	public String getSindex() {
		return sindex;
	}

	public void setSindex(String sindex) {
		this.sindex = sindex;
	}

	@Column(name="CODE")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	
	
	
	
}
